home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 2 (Reseller) / Apple R&P Lib Reseller v2.0.iso / 4-Fonts & Software / Demo Software / AppMaker / Demo AppMaker™ / Demo AppMaker™.rsrc / TmpC_222_Globals.h < prev    next >
Text File  |  1989-04-09  |  766b  |  31 lines

  1. /* %filename% */
  2. /* Created %date% %time% by AppMaker */
  3.  
  4. typedef struct {
  5.       /*Standard fields:*/
  6.         TEHandle        text;
  7.         ControlHandle    vScroll;      
  8.         ControlHandle    hScroll;      
  9.         short            fileNum;             
  10.         short            volNum;            
  11.         Boolean            dirty;
  12.         StringHandle    filename;
  13.         enum {noWindow%windowKinds%}    windowKind;
  14.         
  15.       /*Application-specific fields:*/
  16.       %DeclGlobals%
  17.     } WinInfoRec, *WinInfoPtr;
  18.  
  19. extern Boolean            quittingTime;                             
  20. extern EventRecord        curEvent;                          
  21. extern WindowPtr        curWindow;
  22. extern WinInfoPtr        cur;
  23. extern Boolean            inBackground;
  24.  
  25. /*----------*/
  26. void InitGlobals (void);
  27. void SetInfo     (WindowPtr        window);
  28. void SetNewInfo  (WindowPtr        window);
  29. void DiscardInfo (WindowPtr        window);
  30.  
  31.